Skip to content

ensure that single-rid container publishes populate all container information #48584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented Apr 18, 2025

Fixes #48579

This is a proposed change to the container targets to ensure that for single-rid containers the existing ComputecontainerConfig contract holds.

NOTE: we need to add a test verifying that all the run-time-related information is present for single-rid builds after calling the ComputeContainerConfig target so that we don't regress this in the future.

For a single-RID container publish:
image
Here you can see that by the time ComputeContainerConfig is completed the execution-time properties have been set.

For a multi-RID container publish, the 'outer' parts are computed:
image

And then the per-RID parts are just-in-time called before each RID's container publish:
image

@Copilot Copilot AI review requested due to automatic review settings April 18, 2025 21:17
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • src/Containers/packaging/build/Microsoft.NET.Build.Containers.targets: Language not supported

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Containers Related to dotnet SDK containers functionality untriaged Request triage from a team member labels Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Containers Related to dotnet SDK containers functionality untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Containers targets need to keep 'execution time' data ordering consistent for single-RID publishes
1 participant